Silence warnings for obsolete function
authorjustbur <justin@burkett.cc>
Tue, 17 Nov 2015 03:02:18 +0000 (22:02 -0500)
committerjustbur <justin@burkett.cc>
Tue, 17 Nov 2015 03:02:18 +0000 (22:02 -0500)
which-key.el

index 1243bc0280621a399503fbd59abb896573a00077..6f131f08985d7a5a90eaa74c381660af9dbc0b8e 100644 (file)
@@ -1536,7 +1536,8 @@ enough space based on your settings and frame size." prefix-keys)
     ;; used for paging at top-level
     (if (fboundp 'set-transient-map)
         (set-transient-map (which-key--get-popup-map))
-      (set-temporary-overlay-map (which-key--get-popup-map)))))
+      (with-no-warnings
+        (set-temporary-overlay-map (which-key--get-popup-map))))))
 
 (defun which-key-show-next-page ()
   "Show the next page of keys.